package com.huanxing.cloud.mall.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 商城配置
 *
 * @author lijx
 * @date 2022/6/11
 */
@Data
@ApiModel(description = "商城配置")
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mall_config")
public class MallConfig extends Model<MallConfig> {

  @ApiModelProperty(value = "PK")
  @TableId(type = IdType.ASSIGN_ID)
  private String id;

  @ApiModelProperty(value = "商城回调域名")
  private String notifyDomain;

  @ApiModelProperty(value = "商城订单超时自动取消时间（分钟）")
  private Integer orderTimeOut;

  @ApiModelProperty(value = "快递100 key")
  private String expressKey;

  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createTime;

  @ApiModelProperty(value = "更新时间")
  private LocalDateTime updateTime;

  @ApiModelProperty(value = "创建者ID")
  private String createId;

  @ApiModelProperty(value = "修改者ID")
  private String updateId;

  @ApiModelProperty(value = "逻辑删除：0、显示；1、隐藏")
  private String delFlag;
}
